package com.hdax.dmw.order.feign;

import com.hdax.dmw.entity.item.Item;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "dmw-services-item")
public interface ItemFeign {

    @PostMapping(path = "/item/detail")
    Item detail(@RequestParam("itemId")Long itemId);
}
